package comday07.itheima03;

public class Demo01 {
    public static void main(String[] args) {

        //创建学生对象
        Student s = new Student();

        //赋值
        s.setName("马冬梅");
        s.setSex("女");
        s.setAge(18);


        //获取
        System.out.println(s.getName() + " " + s.getSex() + " " + s.getAge());
    }
}
